package com.bdqn.t382.util;

import org.junit.jupiter.api.Test;

public class TestRedis {
    @Test
    public void testRedisSet() {
        RedisUtil redisUtil = new RedisUtil();
        String str = redisUtil.setKey("sex", "男");
        System.out.println(str);
    }


    @Test
    public void testRedisGet() {
        RedisUtil redisUtil = new RedisUtil();
        String name = redisUtil.getKey("name");
        System.out.println(name);
    }
}
